﻿@using CodePlex.Logistics.Web.Models
@model LoginViewModel
@{
    ViewBag.Title = "Login";
}

<h2>Login</h2>

@using (Html.BeginForm("Login", "UserAccount", FormMethod.Post, new { role = "form" }))
{
    <fieldset>
        <div class="form-group">
            @Html.LabelFor(m => m.Username)
            @Html.TextBoxFor(m => m.Username, new { @class = "form-control", placeholder = "Enter username" })
        </div>
        <div class="form-group">
            @Html.LabelFor(m => m.Password)
            @Html.PasswordFor(m => m.Password, new { @class = "form-control", placeholder = "Password" })
        </div>

        <button type="submit" class="btn btn-default">Submit</button>
    </fieldset>
}
